using UnityEngine;

public class ServerDetectionNavigation : NavigationManager
{
	public enum CameraType
	{
		RacketView = 0,
		BackgroundView = 1
	}

	public GameObject racketCamera;

	public GameObject backgroundCamera;

	public GameObject gameCallibrationLayer;

	public GameObject controllerCallibrationLayer;

	private void OnEnable()
	{
		EnableView(CameraType.BackgroundView);
	}

	public void EnableView(CameraType type)
	{
		racketCamera.SetActive(type == CameraType.RacketView);
		backgroundCamera.SetActive(type == CameraType.BackgroundView);
	}
}
